"""
# -*- coding: utf-8 -*-
Time    : 2025/7/22 下午2:22
Author  : Micah
File    : test_fixture_class.py
Function:
"""

import pytest


@pytest.fixture(scope="class")
def first():
    print("\n开始测试")
    a = 'micah'
    return a


def test_03():
    print("\n不在类中的测试用例03")


class TestCase:
    def test_01(self, first):
        print(f"\n在类中的测试用例01,{first}")
        assert first == 'micah'

    def test_02(self, first):
        print(f"\n在类中的测试用例02,{first}")
        assert first == 'micah'
